package ink.xiaobaibai.bo;

import lombok.Data;

/**
 * @description: 月费机器搜索bo
 * @author: 小白白
 * @create: 2021-05-31
 **/

@Data
public class SelectMonDeviceBo {

    private Integer pageNum;

    private Integer pageSize;

    /**
     * 机器id
     */
    private Integer deviceId;

    /**
     * 机器码
     */
    private String deviceCode;

    /**
     * 负责人id
     */
    private Integer adminUserId;

    /**
     * 部门id
     */
    private Integer depId;

    /**
     * 机器状态
     */
    private String status;

    public Integer getLimitStart() {
        return (this.pageNum - 1) * this.pageSize;
    }

    public Integer getLimitEnd() {
        return this.pageSize;
    }

}
